﻿$(function () {

    $("#tags").autocomplete({

        source: function (request, response) {
            sonicERPinterface.Charp.dal.retornarclientes(request.term, function (data) {
                var json = eval(data);

                response($.map(json, function (item) { return { label: item} }));

            });

        }

    });

});